/*
 * Copyright (c) 2017, www.zm0618.com All Rights Reserved..
 */

package com.light.hessian.exporter.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Created by zhaojun on 2017/02/08.
 */
@Documented
@Retention(RUNTIME)
@Target(ElementType.TYPE)
@Component
public @interface HessianService {
      String name() default "";     //服务Endpoint名称
      Class  service() default NullService.class;  //服务接口
}
